using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 订单商品表
    /// </summary>
    public class dt_order_goods
    {
        /// <summary>
        /// 订单商品表
        /// </summary>
        public dt_order_goods()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 频道ID
        /// </summary>
        public System.Int32? channel_id { get; set; }

        /// <summary>
        /// 文章ID
        /// </summary>
        public System.Int32? article_id { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public System.Int32? order_id { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public System.Int32? goods_id { get; set; }

        /// <summary>
        /// 商品货号
        /// </summary>
        public System.String goods_no { get; set; }

        /// <summary>
        /// 商品标题
        /// </summary>
        public System.String goods_title { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        public System.String img_url { get; set; }

        /// <summary>
        /// 规格描述
        /// </summary>
        public System.String spec_text { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public System.Decimal? goods_price { get; set; }

        /// <summary>
        /// 实际价格
        /// </summary>
        public System.Decimal? real_price { get; set; }

        /// <summary>
        /// 订购数量
        /// </summary>
        public System.Int32? quantity { get; set; }

        /// <summary>
        /// 积分,正数赠送|负数消费
        /// </summary>
        public System.Int32? point { get; set; }
    }
}